/* =====================================================
   Global variables & base
   - Jost everywhere
   - Purple accent matches screenshot vibe
===================================================== */
:root {
  --max: 1180px;
  --text: #0b0b0b;
  --muted: #6b6b6b;
  --bg: #f6f6f8;
  --card: #ffffff;
  --accent: #000000;
  /* main purple */
  --accent-2: #000000;
  /* lighter purple */
  --dark: #2f2f36;
  /* used in pill header */
  --radius: 20px;
  --shadow: 0 20px 50px rgba(10, 10, 10, .10);
  --ease: cubic-bezier(.2, .9, .3, 1);
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  font-family: "Jost", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px
}

/* =====================================================
   Floating Contact Bar (left)
===================================================== */
.float-contact {
  position: fixed;
  left: 10px;
  top: 45%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 120;
}

.fc-btn {
  background:black;
  color: #fff;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: transform .22s var(--ease), filter .22s var(--ease);
}

.fc-btn:hover {
  transform: translateX(2px) scale(1.03);
  filter: brightness(1.05);
}

/* =====================================================
   Diagonal Background behind right column
===================================================== */
.diagonal-bg {
  position: relative;
  isolation: isolate;
}

.diagonal-bg::after {
  content: "";
  position: absolute;
  inset: auto 0 0 auto;
  right: 0;
  top: 0;
  width: min(42vw, 680px);
  height: 100%;
  background: linear-gradient(180deg, #3a3a41, #232327);
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
  z-index: -1;
}

/* =====================================================
   Heading
===================================================== */
.intro {
  padding: 26px 0 8px
}

.intro h1 {
  margin: 0 0 6px;
  font-weight: 800;
  font-size: 46px;
  line-height: 1.08;
}

.lead {
  margin: 0;
  color: var(--muted);
  max-width: 840px;
  font-size: 17px;
}

/* =====================================================
   Main two-column grid
===================================================== */
.main-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: start;
  padding: 10px 0 60px;
}

/* ===== Left: viewer (main image + vertical thumbs) ===== */
.viewer {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 18px;
  align-items: start;
}

.photo-frame {
  margin: 0;
  background: var(--card);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

#mainPhoto {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: opacity .28s var(--ease), transform .28s var(--ease);
  will-change: opacity, transform;
}

#mainPhoto.swap-out {
  opacity: 0;
  transform: scale(.98);
}

#mainPhoto.swap-in {
  opacity: 1;
  transform: scale(1);
}

.thumbs-vertical {
  display: grid;
  gap: 16px;
}

.thumb {
  background: #fff;
  border: 2px solid transparent;
  padding: 4px;
  border-radius: 12px;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  box-shadow: 0 8px 18px rgba(10, 10, 10, .08);
}

.thumb img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
}

.thumb:hover {
  transform: translateY(-3px);
}

.thumb.is-active {
  border-color: var(--accent);
}

/* ===== Right: Quote Card ===== */
.quote-card {
  background: var(--card);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: 20px;
  position: relative;
}

.card-head {
  display: grid;
  place-items: center;
  height: 64px;
  margin: -6px auto 14px;
  width: min(460px, 90%);
  background: #3b3a40;
  color: #fff;
  border-radius: 40px;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: .5px;
  box-shadow: inset 0 -3px 0 rgba(255, 255, 255, .06);
}

/* ===== Form ===== */
.q-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field span {
  font-weight: 600;
  font-size: 14px;
}

.field-full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  background: #fff;
  border: 2px solid rgba(0, 0, 0, 0.35);
  border-radius: 12px;
  padding: 12px 12px;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
}

/* Upload dropzone */
.dropzone {
  border: 2px dashed rgba(0, 0, 0, .25);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  color: var(--muted);
  background: #fff;
}

.dropzone:focus {
  outline: 3px solid rgba(0, 0, 0, 0.2);
  outline-offset: 3px;
}

.dropzone .dz-icon {
  font-size: 22px;
  line-height: 1;
  margin-bottom: 6px;
}

.btn.tiny {
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, .12);
  background: transparent;
  cursor: pointer;
}

.file-list {
  list-style: none;
  padding: 8px 0 0;
  margin: 0;
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: #333;
}

.actions {
  grid-column: 1 / -1;
  margin-top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
}

.btn.primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 16px 38px rgba(122, 31, 254, .28);
}

.btn.jumbo {
  font-size: 20px;
  padding: 18px 26px;
}

.btn.full {
  width: 100%;
}

/* =====================================================
   Responsive
===================================================== */
@media (max-width: 1100px) {
  .main-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .intro h1 {
    font-size: 38px;
  }

  .viewer {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .thumbs-vertical {
    grid-template-columns: repeat(3, 1fr);
  }

  .thumb img {
    height: 90px;
  }

  .card-head {
    height: 58px;
    font-size: 22px;
  }

  .q-form {
    grid-template-columns: 1fr;
  }

  .diagonal-bg::after {
    width: 66vw;
  }
}

@media (max-width: 460px) {
  .intro h1 {
    font-size: 30px;
  }

  .lead {
    font-size: 15px;
  }

  #mainPhoto {
    aspect-ratio: 1/1;
  }

  .thumb img {
    height: 80px;
  }
}